Skip to content

Update list.h#20

Open
okunj4 wants to merge 3 commits intomuhlbaier:masterfrom
okunj4:master
Open

Update list.h#20
okunj4 wants to merge 3 commits intomuhlbaier:masterfrom
okunj4:master

Conversation

@okunj4
Copy link
Copy Markdown

@okunj4 okunj4 commented Mar 26, 2019

Updated List_Remove and List_UnlinkItem

Updated List_Remove and List_UnlinkItem
Copy link
Copy Markdown
Owner

@muhlbaier muhlbaier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation is incorrect. In this context void * item is a pointer to the item, as such there is no need to return the pointer to the item since the pointer to the item is passed in.

Fixed change as requested.
Copy link
Copy Markdown
Owner

@muhlbaier muhlbaier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation is still wrong. Use @return void or none when there is no return value.

Updated the statements to reflect what you said.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants